package edu.siu.math.egut.egut;


import java.io.Serializable;

/**
 * Subclasses of this class are used to represent objects from LiE
 * 
 * @author Joe Pleso
 *
 */
public abstract class AbstractLiEObject implements Serializable{

        
    
    private final LiEType type;
    AbstractLiEObject(LiEType lt){
	type = lt;
    }
    /**
     * Returns the LiE type of this object.
     * 
     * @return  the LiE type of this object
     */
    public LiEType getLiEType(){
	return type;
    }
    /**
     * Returns the java object that contains the data of this LiEObject.
     * 
     * @return the java object that contains the data of this LiEObject.
     */
    public abstract Object getJavaObject();
}
